package org.jspecial.tools;

/**
 * Pre-processing phase used to replace pseudo-code like "class" or "import" to standard
 * JavaScript expressions.
 */
public interface Preprocessor
{
    /**
     * Processes JavaScript (pseudo)code.
     *
     * @param input JavaScript source.
     * @param className Name of the processed class.
     * @return Processed JavaScript source.
     */
    public String process( String input, String className );
}
